#!/bin/csh

setenv Linux_Flavour_ "@_linux_flavour@"
setenv System_ "@_system@"
. @_EXECDIR@/check_system.csh
if ( "$same_system" == "1" ) then
	setenv SIMPATH "@SIMPATH@"
	setenv FAIRROOTPATH "@FAIRROOTPATH@"
	if ( @FULL_CONFIG_FILE@ == true ) then
		setenv Geant4_INCLUDE_DIRS "@Geant4_INCLUDE_DIRS@"
		setenv Geant4VMC_INCLUDE_DIRS "@Geant4VMC_INCLUDE_DIRS@"
		setenv Geant4VMC_LIBRARY_DIR "@Geant4VMC_LIBRARY_DIR@"
		setenv Geant4VMC_MACRO_DIR "@Geant4VMC_MACRO_DIR@"
		setenv PYTHIA6_LIBRARY_DIR "@PYTHIA6_LIBRARY_DIR@"
		setenv Geant3_INCLUDE_DIRS "@Geant3_INCLUDE_DIRS@"
		setenv G3SYS "@G3SYS@"
		setenv Geant3_LIBRARY_DIR "@Geant3_LIBRARY_DIR@"
		setenv USE_VGM "1"
		setenv PYTHIA8DATA "@PYTHIA8DATA@"

		@Geant4Data_Variables_csh@

	endif
	setenv Geant3_INCLUDE_DIRS "@Geant3_INCLUDE_DIRS@"
	setenv ROOT_LIBRARY_DIR "@ROOT_LIBRARY_DIR@"
	setenv ROOT_LIBRARIES "@ROOT_LIBRARIES@"
	setenv ROOT_INCLUDE_PATH "@Geant3_INCLUDE_DIRS@:@ROOT_INCLUDE_PATH@"
	setenv VMCWORKDIR "@VMCWORKDIR@"
	setenv FAIRLIBDIR "@FAIRLIBDIR@"
	setenv PYTHONPATH "@MY_PYTHONPATH@"
	setenv DYLD_LIBRARY_PATH="@MY_DYLD_LIBRARY_PATH@":$DYLD_LIBRARY_PATH
	setenv LD_LIBRARY_PATH="@MY_LD_LIBRARY_PATH@":$LD_LIBRARY_PATH
	setenv PATH="@MY_PATH@":$PATH
endif
